//
//  UIView+LG.h
//  LGTool
//
//  Created by guomianxiang on 16/8/6.
//  Copyright © 2016年 guomianxiang. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (LG)

/**
 view.x
 */
@property (assign, nonatomic) CGFloat x;
/**
 view.y
 */
@property (assign, nonatomic) CGFloat y;
/**
 view.width
 */
@property (assign, nonatomic) CGFloat width;
/**
 view.height
 */
@property (assign, nonatomic) CGFloat height;
/**
 view.top
 */
@property (assign, nonatomic) CGFloat top;
/**
 view.left
 */
@property (assign, nonatomic) CGFloat left;
/**
 view.right
 */
@property (assign, nonatomic) CGFloat right;
/**
 view.bottom
 */
@property (assign, nonatomic) CGFloat bottom;

/**
 view中心点在父空间的x值
 */
@property (assign, nonatomic) CGFloat centerX;
/**
 view中心点在父空间的y值
 */
@property (assign, nonatomic) CGFloat centerY;

/**
 view中心点位置
 */
@property (assign, nonatomic, readonly) CGPoint centerPoint;

@end
